package com.project.base.entity;

/**
 * 产品详情日志
 * Created by lvzimin on 16/1/11.
 */
public class ProductDetailLog extends AccessLog {

    private static final long serialVersionUID = 4890120269679911431L;

    /**
     * 产品ID
     */
    public Long productId;

    /**
     * 专题活动代码
     */
    public String activityCode;

    public String toLogStr(String seperator) {
        StringBuilder builder = new StringBuilder();
        builder.append(productId).append(seperator);
        builder.append(activityCode).append(seperator);
        return builder.toString();
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getActivityCode() {
        return activityCode;
    }

    public void setActivityCode(String activityCode) {
        this.activityCode = activityCode;
    }

}
